.nav-links-responsive {
  display: none;
  list-style: none;
  width: 50%;
  height: 100dvh;
  position: absolute;
  top: 5rem;
  right: 0;
  background-color: #fbfbfb;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  overflow-y: scroll;
}

.nav-links-responsive li {
  background-color: #f4eaff;
}

.nav-links-responsive a {
  text-decoration: none;
  color: #440099;
  font-weight: 500;
}

.nav-links-responsive .submenu-responsive {
  padding-left: 2rem;
}

.nav-links-responsive-active {
  display: flex;
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fbfbfb;
  box-shadow: 5px 5px 5px #7e748b34;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  font-size: 1.6em;
  transition: all 0.3s ease;
  z-index: 999;
}

.logo {
  display: flex;
  gap: 0.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span {
  font-size: 0.8em;
  color: #440099;
  font-weight: 200;
}

.logo .company-name-nav {
  font-size: 1.333em;
  line-height: 1rem;
  color: #440099;
  margin-bottom: 0.5rem;
}

.logo img {
  width: 40px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.n-m-hover {
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.5rem;
  cursor: pointer;
}

.active-page {
  animation: activePageAnimation 1400ms ease infinite;
}

@keyframes activePageAnimation {
  0% {
    border: #440099 1px solid;
  }
  
  33% {
    border-color: transparent;
  }

  66% {
    border-color: transparent;
  }
  
  100% {
    border: #440099 1px solid;
  }
}

.n-m-hover-submenu {
  transition: all 0.3s ease;
  border: 1px solid #440099;
  border-radius: 4px;
  padding: 0.5rem;
  cursor: pointer;

}

.n-m-hover:hover {
  border: #440099 1px solid;
}

.n-m-hover-submenu:hover {
  background-color: #440099;
}

.n-m-hover-submenu:hover a {
  color: #f4eaff;
}

.nav-links a {
  text-decoration: none;
  color: #440099;
  font-weight: 500;
}

.services-hover {
  position: relative;
}

.plus {
  font-weight: bold;
}

.services-hover .submenu {
  position: absolute;
  top: 2.3rem;
  left: -30%;
  transform: translateX(-30%);
  z-index: 1000;
  background-color: #fbfbfb;
  list-style: none;
  padding: 1rem 2rem;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  columns: 2;
  column-gap: 2rem;
  width: min(800px, 100dvw);
  transition: all 0.3s ease;
}

.submenu p {
  margin-bottom: 0.5rem;
}

.services-hover:hover .submenu {
  display: block;
}

.header-btn-ham-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.appointment-btn {
  border: none;
  color: #fbfbfb;
  border: 2px solid #440099;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1em;
  overflow: hidden;
  position: relative;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}

.appointment-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 105%;
  height: 105%;
  background-color: #440099;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.appointment-btn:hover::after {
  background-color: transparent;
  left: 100%;
}

.appointment-btn:hover {
  color: #440099;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger i {
  color: #440099;
  font-size: 1.92em;
}

.submenu-responsive {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.show-submenu {
  display: flex;
}



@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .services {
    display: block;
  }

  .hamburger {
    display: block;
  }

  .appointment-btn {
    padding: 0.3rem 0.5rem;
  }

  .navbar {
    padding: 0.5rem 1rem;
  }
}